package com.eds.feign;


import com.eds.pojo.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("eds-sms")
public interface SmsFeign {
    //发送短信验证码
    @GetMapping("/sms/sendSmsCode")
    public BaseResult sendSmsCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
